﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.ProcurementDomain
{
    /// <summary>
    /// 供应商类别
    /// </summary>
    [SugarTable("VendorType")]
    public class VendorType : Audit
    {
        /// <summary>
        /// 供应商类别id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int VendorTypeId { get; set; }
        /// <summary>
        /// 供应商类别
        /// </summary>
        public string? VTName { get; set; }
        /// <summary>
        /// 父id
        /// </summary>
        public int? VTFatherId { get; set; }
    }
}
